@media screen and (max-width: 768px) {
  .news .new-box .content .img {
    display: none;
  }

  .news .new-box .content .text {
    width: 100%;
  }

  .news .new-box .content .text .sub-tab {
    display: none;
  }

  .new-box .view .hidden-sm {
    display: none;
  }

  .news .breadcrumb {
    display: none;
  }
}

.tm-banner {
  color: white;
  height: 370px;
  background: url(../images/new_banner.jpg) center center no-repeat;
  background-size: cover;

  .text-box {
    position: relative;
    z-index: 0;
    margin-top: 175px;
    margin-left: 15px;
    line-height: 3em;
  }
}

.news {
  padding: 30px 0;
  padding-bottom: 20px;
  background-color: #f1f1f1;

  .nav {
    &>ul {
      li {
        float: left;
        margin-right: 3em;
        font-size: 16px;

        a {
          color: black;

          &:hover {
            color: blue;
          }
        }

        &.active {
          a {
            border-bottom: 2px solid blue;
            padding-bottom: 1em;
            color: blue;
          }
        }
      }
    }
  }

  .row {
    .col-xs-12 {
      margin-top: 40px;
    }
  }

  .new-box {
    padding-top: 5px;
    margin-bottom: -15px;
    height: 340px;
    border: 1px solid #e8e8e8;
    background-color: white;

    .content {
      padding: 15px;

      .img {
        margin-right: 20px;
        float: left;
        width: 29%;
        overflow: hidden;

        img {
          width: 100%;
          transition: all 0.3s;
        }

        &:hover {
          img {
            transform: scale(1.1);
          }
        }
      }

      .text {
        float: right;
        width: 68%;
        height: 172px;
        position: relative;

        ul {
          &.sub-tab {
            position: absolute;
            left: 0;
            bottom: 0;
            list-style: none;
          }
        }

        .sub-tab {
          li {
            float: left;
            margin-right: 5px;

            a {
              display: inline-block;
              padding: 3px;
              background-color: #f1f1f1;
              color: #777777;
              font-size: 12px;

              &:hover {
                color: white;
                background-color: blue;
              }
            }
          }
        }
      }
    }

    &>h2 {
      padding-left: 15px;
      padding-bottom: 6px;
      border-left: 4px solid blue;

      a {
        position: relative;
        color: black;
        font-size: 18px;

        &:hover {
          color: blue;
        }
      }
    }
  }

  .fenye {
    margin-top: 30px;
  }

  .breadcrumb {
    margin-top: 40px;
    margin-left: -15px;
    margin-bottom: 0;
    background: none;
  }
}

.new-box {
  .view {
    width: 97%;
    left: 0;
    bottom: 0;
    position: absolute;
    padding-left: 15px;

    ul {
      li {
        float: left;
        margin-left: 15px;
        margin-right: 5px;

        a {
          color: #999999;

          i {
            margin-right: 5px;
          }
        }
      }
    }

    &>a {
      position: absolute;
      right: 10px;
      bottom: 0;
      padding: 7px 15px;
      background-color: blue;
      color: white;

      &:hover {
        background-color: rgba(0, 0, 255, 0.6);
      }
    }
  }
}